package com.cn.yz.springboot.model;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.springframework.format.annotation.DateTimeFormat;

import javax.xml.bind.annotation.XmlRootElement;


/**
 * <pre>
 * @author 
 *
 * @version 0.1
 *
 * 修改版本: 0.1
 * 修改日期: 2017-05-24
 * 修改人 :  
 * 修改说明: 初步完成
 * 复审人 ：
 * </pre>
 */
@XmlRootElement
@JsonInclude(JsonInclude.Include.NON_NULL)
public class OpLog {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	private String id;

	/**
	 * 
	 */
	private String operatorId;

	/**
	 * 
	 */
	private Integer bussinessId;

	/**
	 * 
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private Date operatorTime;

	/**
	 * 
	 */
	private String opYear;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getOperatorId() {
		return operatorId;
	}

	public void setOperatorId(String operatorId) {
		this.operatorId = operatorId;
	}

	public Integer getBussinessId() {
		return bussinessId;
	}

	public void setBussinessId(Integer bussinessId) {
		this.bussinessId = bussinessId;
	}

	public Date getOperatorTime() {
		return operatorTime;
	}

	public void setOperatorTime(Date operatorTime) {
		this.operatorTime = operatorTime;
	}

	public String getOpYear() {
		return opYear;
	}

	public void setOpYear(String opYear) {
		this.opYear = opYear;
	}

}